INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include

bin_PROGRAMS = \
    objectdet

objectdet_SOURCES = \
    adacascadeclass.cpp \
    adaclassmod.cpp \
    data.cpp \
    detectobjects.cpp \
    dump.cpp \
    ilmatrixoperations.cpp \
    integralhistogram.cpp \
    linclass.cpp \
    localhistintegral.cpp \
    localhistlinclass.cpp \
    objectdet.cpp \
    opencv.cpp \
    profiling.cpp \
    prune_subwindows.cpp \
    xmlloadmodel_opencv.cpp

objectdet_CPPFLAGS = \
    $(INCLUDES) \
    $(BOOST_CFLAGS) \
    $(OPENCV_CFLAGS) \
    $(AC_CPPFLAGS)
objectdet_LDFLAGS = \
    $(BOOST_LDFLAGS) \
    $(OPENCV_LDFLAGS) \
    $(OPENCV_LIBS) \
    $(AC_LDFLAGS)

if OBJECTDET_MSW
    objectdet_CPPFLAGS += -mwindows
endif
